package com.ruoyi.xuexiao.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 政区表(BasicRegion)实体类
 *
 * @author 齐浩宽
 * @since 2024-05-23 22:11:19
 */
@TableName("basic_region")
@Data
@ApiModel(value = "政区表")
public class BasicRegion implements Serializable {
    private static final long serialVersionUID = -59118842801770821L;
    /**
     * 主键
     */
    @ApiModelProperty(name = "主键")
    private Integer id;
    /**
     * 政区代码
     */
    @ApiModelProperty(name = "政区代码")
    private String adcd;
    /**
     * 政区名称
     */
    @ApiModelProperty(name = "政区名称")
    @Excel(name = "政区名称")
    private String adnm;
    /**
     * 政区等级
     */
    @ApiModelProperty(name = "政区等级")
    private Integer level;
    /**
     *
     */
    @ApiModelProperty(name = "经度")
    private String lng;
    /**
     *
     */
    @ApiModelProperty(name = "纬度")
    private String lat;
    /**
     * 0否1删除
     */
    private Integer isDelete;

    //监测任务
    @TableField(exist = false)
    private Long rwsljc;

    //常规任务
    @TableField(exist = false)
    private Long rwslcg;

    //临时任务
    @TableField(exist = false)
    private Long rwslx;

    /**
     * 任务数量
     */
    @TableField(exist = false)
    private Long totalRwsl;

    /**
     * 填报数量
     */
    @TableField(exist = false)
    private Long ytb;

    @TableField(exist = false)
    private List<BasicRegion> child;

    /**
     * 总问题数量
     */
    @Excel(name = "总问题数量")
    @TableField(exist = false)
    private Long zs;

    /**
     * 已处置
     */
    @Excel(name = "已处置")
    @TableField(exist = false)
    private Long disposedOf;

    /**
     * 未处置
     */
    @Excel(name = "未处置")
    @TableField(exist = false)
    private Long notDisposedOf;

    /**
     * 百分号
     */
    @Excel(name = "百分号")
    @TableField(exist = false)
    private Double bfb;
}

